{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div><a href="/2018.html">2018 old Archive</a></div>
    <!--myyear 为url名 与urls.py 所设置的参数name 一一对应，
    2018 为该url的变量
    -->
    <div><a href="{% url 'myyear' 2018 %}">2018 Archive</a></div>
</body>
</html>